package com.one.constant;

/**
 * @Author ShiWen
 * @date 2022/1/21 8:57
 * @Version 1.0
 * @Description TODO redis key值前缀常量
 */

public class RedisPrefixConstant {
    /**
     *  手机短信验证码 统一前缀
     */
    public static final String PHONE_AUTH = "phone_auth:";
    /**
     *  token令牌 前缀
     */
    public static final String LOGIN_TOKEN = "token:";

    /**
     * 用户收藏商品前缀
     */
    public static final String USER_COLLECT_PREFIX = "USER-COLLECT:";

    /**
     *  redis插入订单编号 前缀
     */
    public static final String ORDER_NO = "orderNo:";

    /**
     * 用户优惠券统一前缀
     */
    public static final String TICKET_AUTO = "user_ticket:";




    /**
     * 用户搜索记录前缀
     */
    public static final String MOGU_SEARCH_RECORD_NAME = "SEARCH_RECORD:";

    /**
     * 用户足迹前缀
     */
    public static final String MOGU_FOOTPOINT_PREFIX = "FOOTPOINT_RECORD:";

}
